Create database CheckBank
go
Use CheckBank
go
create table AcountBank 
(
	userID int identity primary key,
	userName varchar(50) not null,
	numberBank varchar(30) not null,
	pinNumber varchar(10)not null
)
go
create table AmountAcountBank
(
	managerID int identity primary key,
	userID int not null,
	amount money not null
	
)
go

alter table AmountAcountBank add constraint FK1 foreign key(userID) references AcountBank(userID)
 